/**
 * 
 */
package edu.washington.tcss360.burningpenguins.tests;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import edu.washington.tcss360.burningpenguins.data.DataObject;
import edu.washington.tcss360.burningpenguins.data.ReviewAssignment;

/**
 * @author Rolando Sierra
 *
 */
public class ReviewAssignmentTest 
{

	/** A data object to use in tests */
	private DataObject my_review_assignment;
	
	/** Sets up the data object for tests. */
	@Before
	public void setUp() 
	{
		my_review_assignment = new ReviewAssignment();
	}

	/**
	 * Test method for getId.
	 */
	@Test
	public void testGetId() 
	{
		my_review_assignment.setId(3);
		assertSame("Incorrect Id", my_review_assignment.getId(), 3);
	}

	/**
	 * Test method for getUserId.
	 */
	@Test
	public void testGetUserId() 
	{
		((ReviewAssignment) my_review_assignment).setUserId(3);
		assertSame("Incorrect Id", ((ReviewAssignment) my_review_assignment).getUserId(), 3);
	}

	/**
	 * Test method for getPaperId.
	 */
	@Test
	public void testGetPaperId() 
	{
		((ReviewAssignment) my_review_assignment).setPaperId(3);
		assertSame("Incorrect Id", ((ReviewAssignment) my_review_assignment).getPaperId(), 3);
	}

}
